package com.mxdx.edu.constant;

/**
 * 静态常量
 * 
 * @author WangYuan
 * @date 2016-11-24 11:38
 */
public class StaticConstants {

    private StaticConstants() {}


    /** Fields **/
    public static final String UNKNOWN = "unknown";
    public static final String API_NAME = "spring_boot_demo";
    public static final String ERROR_MSG_FORMAT = "统一错误处理 : %s";
    public static final String DEFAULT_ERROR_VIEW = "common/error";
    public static final String SYSTEM_ERROR_VIEW = "common/sys_error1";
    public static final String PAGE_404_VIEW = "common/sys_error1";


    /** Common **/
    public static final String URI = "uri";
    public static final String DATA = "data";
    public static final String STATUS = "status";
    public static final String EXCEPTION = "exception";
    public static final String RESTHUB_SPEC = "Resthub-Spec";
    public static final String RESTHUB_SPEC_V = "application/vnd.resthub.v2+json";
    
    public static final String LOGIN_COOKIE = "loginCookie";
    public static final String USER_SESSION_KEY = "userSessionKey";
    



}
